export default {
   //因为数据是state派生出来的，所以getters中的函数接收一个参数是state
    myMovieList(state){
        return state.movieList.filter((item)=>{
            return item.albumName.length>=4&&item.albumName.length<=6
        })
    },
    yourMovieList(state){
        return ({start,end})=>{
            return state.movieList.filter((item)=>{
                return item.albumName.length>=start&&item.albumName.length<=end
            })
        }
    }
}